<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="org.limp.mine.StringTool"%>
<%@ page import="org.limp.mine.DateTrimmer"%>
<%@ page import="jt.classic.system.user.IUser"%>
<%@ page import="jt.classic.system.ISystem" %>
<%
   String context = jt.classic.system.ISystem.getContextPath();
   
   IUser user = ISystem.getSessionUser(request);
   
   String script = (String)request.getAttribute("script");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>领导日程安排</title>
</head>
<jsp:include page="../head.jsp"></jsp:include>
<link rel="StyleSheet" href="<%=context%>/resources/system/css/dtree.css" type="text/css" />
<script src="<%=context%>/resources/system/js/dtree.js"></script>
<script>
   function handleRefresh(){
       window.location.reload();
   }
</script>
<body>
  <form name="form1" method="post" action="">
 <div class="dtree"> 
  <script type="text/javascript">
		<!--
		//id, pid, name, url, title, target, icon, iconOPne, open,

		d = new dTree('d');
		d.config.target="mainFrame";		
		d.config.folderLinks = true;
		
        //----------------- INTRODUCTION ------------------//
        <%=script%>
        d.add('gm','g0','日程查询','<%=context%>/app/ldrc.do?method=query','全部领导日程查询','file');
        d.add('go','g0','日程安排','<%=context%>/app/ldrc.do?method=list','领导日程安排','file');
        <%if(ISystem.matchrole(user, "ldms")){%>
        d.add('gl','g0','日程审批','<%=context%>/app/ldrc.do?method=list4sh','领导日程审核','file');
        <%}%>
		document.write(d);
		d.openAll();
		//-->
	</script>
	<p>&nbsp;
	</p>
</div>
<script>
   parent.frames["right"].location.href = "<%=context%>/app/ldrc.do?method=list";
</script>
  </form>
</body>
</html>
